home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / tcoop.arc / TCOOP2.ARC / README < prev    next >
Encoding:
Text File  |  1991-10-26  |  5.8 KB  |  224 lines

  1. Object-Oriented Programming with Turbo C++ Source Code Disk
  2.                          README FILE
  3.  
  4. Herein lies the source to all the major program listings
  5. in the book. Both project and make files are supplied for
  6. each of the programs. (The project files have been archived
  7. into the self-extracting file prjfiles.exe.)
  8.  
  9. All of the programs were tested and compiled in Turbo C++ 1.01.
  10.  
  11. WARNING: Since the graphics programs use a different memory model
  12.          than the text mode programs do, and since the graphics
  13.          menus use a defined macro (GRAPHICS), you may have
  14.          trouble getting some programs to compile correctly
  15.          if you've previously compiled the text mode programs.
  16.          The reason is that MAKE knows nothing about memory
  17.          models or defined macros, and won't re-compile the
  18.          files when it should. So, if you encounter a problem,
  19.          delete all .obj files, and then try the make again.
  20.  
  21. Known problems:
  22.  
  23. The Turbo C++ IDE has a bug in which the scan codes for the
  24. shift-arrow keys get mangled while running a program from
  25. within the IDE. Thus, the program SKTEST.EXE will not work
  26. properly if run under the IDE. It does work properly if run
  27. outside the IDE.
  28.  
  29. The browser programs (browse1.c and browse2.cpp) only work
  30. if compiled in the large memory model.
  31.  
  32. In later chapters, a change was made in several places to
  33. pass the ColorPak structure by reference instead of using
  34. pointers. The places changed are so noted in the files.
  35.  
  36. /////////////////////////////////////////////////////////////
  37. Chapter 1
  38. ////////////////////////////////////////////////////////////
  39.  
  40. EXPENSE1.C       Page 11
  41. EXPENSE2.CPP     Page 12
  42. EXPENSE3.CPP     Page 19
  43.  
  44. /////////////////////////////////////////////////////////////
  45. Chapter 2
  46. /////////////////////////////////////////////////////////////
  47.  
  48. BROWSE1.C        Listing 2.1  Page 29
  49. BROWSE1.MAK
  50. BROWSE1.PRJ
  51.  
  52. BROWSE2.CPP      Listing 2.2  Page 44
  53. BROWSE2.MAK
  54. BROWSE2.PRJ
  55.  
  56. /////////////////////////////////////////////////////////////
  57. Chapter 3
  58. /////////////////////////////////////////////////////////////
  59.  
  60. SKTEST.CPP       Page 70
  61. SKTEST.MAK
  62. SKTEST.PRJ
  63.  
  64. TXUNIT.H         Listing 3.1  Page 73
  65. TXUNIT.CPP       Listing 3.2  Page 74
  66.  
  67. SCRNSTY.H        Listing 3.3  Page 79
  68. SCRNSTY.CPP      Listing 3.4  Page 80
  69.  
  70. KEYBRD.H         Listing 3.5  Page 81
  71. KEYBRD.CPP       Listing 3.6  Page 82
  72.  
  73. /////////////////////////////////////////////////////////////
  74. Chapter 4
  75. /////////////////////////////////////////////////////////////
  76.  
  77. MOUSETST.CPP     Page 99
  78. MOUSETST.MAK
  79. MOUSETST.PRJ
  80.  
  81. MGRPHTST.CPP     Page 104
  82. MGRPHTST.MAK
  83. MGRPHTST.PRJ
  84.  
  85. MSMOUSE.H        Listing 4.1  Page 106
  86. MSMOUSE.CPP      Listing 4.2  Page 108
  87.  
  88. MCURSOR .CPP     Listing 4.3  Page 113
  89.  
  90. /////////////////////////////////////////////////////////////
  91. Chapter 5
  92. /////////////////////////////////////////////////////////////
  93.  
  94. TRTEST.CPP       Page 131
  95. TRTEST.MAK
  96. TRTEST.PRJ
  97.  
  98. RSOUNIT.H        Listing 5.1  Page 135
  99. RSOUNIT.CPP      Listing 5.2  Page 136
  100.  
  101. TRSOUNIT.H       Listing 5.3  Page 138
  102. TRSOUNIT.CPP     Listing 5.4  Page 139
  103.  
  104. /////////////////////////////////////////////////////////////
  105. Chapter 6
  106. /////////////////////////////////////////////////////////////
  107.  
  108. TFSOTST.CPP      Page 157
  109. TFSOTST.MAK
  110. TFSOTST.PRJ
  111.  
  112. TFSOTST2.CPP     Page 158
  113. TFSOTST2.MAK
  114. TFSOTST2.PRJ
  115.  
  116. FSOUNIT.H        Listing 6.1  Page 164
  117. FSOUNIT.CPP      Listing 6.2  Page 165
  118.  
  119. TFSOUNIT.H       Listing 6.3  Page 167
  120. TFSOUNIT.CPP     Listing 6.4  Page 168
  121.  
  122. /////////////////////////////////////////////////////////////
  123. Chapter 7
  124. /////////////////////////////////////////////////////////////
  125.  
  126. WSOTST1.CPP      Page 197
  127. WSOTST1.MAK
  128. WSOTST1.PRJ
  129.  
  130. WSOTST2.CPP      Page 198
  131. WSOTST2.MAK
  132. WSOTST2.PRJ
  133.  
  134. BUTTON1.CPP      Page 201
  135. BUTTON1.MAK
  136. BUTTON1.PRJ
  137.  
  138. ISOUNIT.H        Listing 7.1  Page 207
  139. ISOUNIT.CPP      Listing 7.2  Page 209
  140.  
  141. TWSOUNIT.H       Listing 7.3  Page 223
  142. TWSOUNIT.CPP     Listing 7.4  Page 223
  143.  
  144. WSOTXSCR.CPP     Listing 7.5  Page 225
  145. WSOTXSCR.H       Listing 7.6  Page 225
  146.  
  147. /////////////////////////////////////////////////////////////
  148. Chapter 8
  149. /////////////////////////////////////////////////////////////
  150.  
  151. TMENU1.CPP       Page 241   
  152. TMENU1.MAK
  153. TMENU1.PRJ
  154.  
  155. TMENUTST.CPP     Page 248
  156. TMENUTST.MAK
  157. TMENUTST.PRJ
  158.  
  159. MSOUNIT.H        Listing 8.1  Page 254
  160. MSOUNIT.CPP      Listing 8.2  Page 256
  161.  
  162. /////////////////////////////////////////////////////////////
  163. Chapter 9
  164. /////////////////////////////////////////////////////////////
  165.  
  166. VW.CPP           Page 280
  167. VW.MAK
  168. VW.PRJ
  169.  
  170. MSGTST.CPP       Page 285
  171. MSGTST.MAK
  172. MSGTST.PRJ
  173.  
  174. OPTEXMPL.CPP     Page 288
  175. OPTEXMPL.MAK
  176.  
  177. TXSCROLL.H       Listing 9.1  Page 292
  178. TXSCROLL.CPP     Listing 9.2  Page 293
  179.  
  180. DIALOGUE.H       Listing 9.3  Page 300
  181. DIALOGUE.CPP     Listing 9.4  Page 300
  182.  
  183. /////////////////////////////////////////////////////////////
  184. Chapter 10
  185. /////////////////////////////////////////////////////////////
  186.  
  187. GTEST.CPP        Page 320
  188. GTEST.MAK
  189. GTEST.PRJ
  190.  
  191. GMENUTST.CPP     Page 322
  192. GMENUTST.MAK
  193. GMENUTST.PRJ
  194.  
  195. GRSOUNIT.H       Listing 10.1  Page 327
  196. GRSOUNIT.CPP     Listing 10.2  Page 327
  197.  
  198. GFSOUNIT.H       Listing 10.3  Page 330
  199. GFSOUNIT.CPP     Listing 10.4  Page 300
  200.  
  201. GWSOUNIT.H       Listing 10.5  Page 334
  202. GWSOUNIT.CPP     Listing 10.6  Page 335
  203.  
  204. GRPHSCRN.H       Listing 10.7  Page 336
  205. GRPHSCRN.CPP     Listing 10.8  Page 337
  206.  
  207. /////////////////////////////////////////////////////////////
  208. Chapter 11
  209. /////////////////////////////////////////////////////////////
  210.  
  211. GBUTNTST.CPP     Page 344
  212. GBUTNTST.MAK
  213. GBUTNTST.PRJ
  214.  
  215. BXSTRTCH.CPP     Page 360
  216. BXSTRTCH.MAK
  217. BXSTRTCH.PRJ
  218.  
  219. GBUTTON.H        Listing 11.1  Page 364
  220. GBUTTON.CPP      Listing 11.2  Page 365
  221.  
  222. GSCROLL.H        Listing 11.3  Page 367
  223. GSCROLL.CPP      Listing 11.4  Page 368
  224.